<template>
	<view>
			<view class="page-appoint">
				<text>{{ info }}</text>
			</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:'',
				id:''
			}
		},
		onLoad(op) {
			this.id = op.id
			this.init(this.id)	
		},
		methods: {
			async init(id) {
				let data = {
					id:this.id
				}
				let res1 =  await this.$api.getmsgts(data)
				if(res1.data.code==0){
					this.info = res1.data.data.name		
				}
			}
		},
		
		
	}
</script>

<style lang="scss">
.page-appoint{
		    font-size: 22px;
		    padding: 10px;
		box-sizing: border-box;
		background-color: #FFFFFF;
		min-height: 610px
		
	}
	.appoint-item {
		width: 96%;
		background-color: #55aaff;
		color: #FFFFFF;
		border-radius: 10px;
		margin: 0 auto;
		padding: 10px;
		font-weight: 600;
		margin-top: 20upx;
		overflow: hidden;
	}
	.nav{
		font-size: 18px;
		// float: left;
		text-align: left;
		padding: 5px;
	}
</style>
